package com.atguigu.gulimall.product.model.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {
    //1、sku基本信息 pms_sku_info
    SkuInfoEntity info;
    boolean hasStock = true;
    //2、sku的图片信息 pms_sku_images
    List<SkuImagesEntity> images;
    //3、获取spu销售属性组合
    List<SkuItemSaleAttrsVo> saleAttr;
    //4、获取spu基本信息
    SpuInfoDescEntity desc;
    //5、获取spu规格参数
    List<SpuItemAttrGroupVo> groupAttrs;
}
